package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketGoods;
import com.cskaoyan.market.vo.WxGoodsCategoryVo;
import com.cskaoyan.market.vo.WxGoodsDetailVo;
import com.cskaoyan.market.vo.WxGoodsListVo;

import java.util.List;

public interface WxGoodsService {

    WxGoodsListVo list(String keyword, Integer brandId, Integer categoryId, Integer page, Integer limit, String sort, String order);

    WxGoodsCategoryVo category(Integer id);

    Long count();

    WxGoodsDetailVo detail(Integer id, Integer userId);

    List<MarketGoods> related(Integer id);
}
